/**
 * 功能描述 卡片
 */

define(function (require, exports, module) {
	var aw = require("ajaxwrapper")
	var Tab = require("tab");
	var store =require("store");
	var activeUser = store.get("user");	
	
    var instance = {
        initComponent: function (params,widget) {
        	var tab = new Tab({
				parentNode:".J-tab",
				model:{
					items : [{
						id : "visit",
						title : "来访"
					},{
						id : "questionnaire",
						title : "问卷"
					}]
				}
			});
        	widget.set("tab",tab);
        }
    };
    module.exports = instance;
});
